package com.zijie.view.service;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ViewService {
    Long countOrders();
    Long countMembers();
    Double countPrices();
    List<Map<String,Object>> hotItems();
    //根据时间范围统计订单数
    List<Map<String,Object>> orderCountGroupByDate(Date startDate, Date endDate);
    //根据时间范围统计订单金额
    List<Map<String,Object>> priceCountGroupByDate(Date startDate, Date endDate);
}
